package com.china08.yxyapi.api.temp;

import java.text.ParseException;
import java.util.ArrayList;
import java.util.List;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.http.MediaType;
import org.springframework.web.bind.annotation.CrossOrigin;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.RestController;

import com.china08.yxyapi.entity.db.maker.YxyMakerCatalog;
import com.china08.yxyapi.repository.db.marker.YxyMakerCatalogRepository;

@CrossOrigin
@RestController
public class YxyMarkerCatalogController {

    @Autowired
    private YxyMakerCatalogRepository yxyMakerCatalogRepository;

    @RequestMapping(value = "/api_yw/temp/huodong/marker/catalog/load/all", method = RequestMethod.GET, produces = MediaType.APPLICATION_JSON_UTF8_VALUE)
    public void process(HttpServletRequest request, HttpServletResponse response) throws ParseException {
        List<YxyMakerCatalog> list = new ArrayList<YxyMakerCatalog>();
        // 评选类-小学组
        YxyMakerCatalog px0 = new YxyMakerCatalog();
        px0.setId("001");
        px0.setPhase("1");
        px0.setPhaseName("小学组");
        px0.setPid("0");
        px0.setName("评选类");
        px0.setLimitCount(50);
        yxyMakerCatalogRepository.save(px0);

        YxyMakerCatalog px01 = new YxyMakerCatalog();
        px01.setPhase("1");
        px01.setPhaseName("小学组");
        px01.setPid("001");
        px01.setName("电脑绘画");
        px01.setLimitCount(50);
        list.add(px01);

        YxyMakerCatalog px02 = new YxyMakerCatalog();
        px02.setPhase("1");
        px02.setPhaseName("小学组");
        px02.setPid("001");
        px02.setName("电脑绘画（“和教育”专项）");
        px02.setLimitCount(50);
        list.add(px02);

        YxyMakerCatalog px03 = new YxyMakerCatalog();
        px03.setPhase("1");
        px03.setPhaseName("小学组");
        px03.setPid("001");
        px03.setName("电子板报");
        px03.setLimitCount(50);
        list.add(px03);

        YxyMakerCatalog px04 = new YxyMakerCatalog();
        px04.setPhase("1");
        px04.setPhaseName("小学组");
        px04.setPid("001");
        px04.setName("电脑动画");
        px04.setLimitCount(50);
        list.add(px04);

        YxyMakerCatalog px05 = new YxyMakerCatalog();
        px05.setPhase("1");
        px05.setPhaseName("小学组");
        px05.setPid("001");
        px05.setName("电脑动画（健康教育专项）");
        px05.setLimitCount(50);
        list.add(px05);

        YxyMakerCatalog px06 = new YxyMakerCatalog();
        px06.setPhase("1");
        px06.setPhaseName("小学组");
        px06.setPid("001");
        px06.setName("网页设计");
        px06.setLimitCount(50);
        list.add(px06);

        YxyMakerCatalog px07 = new YxyMakerCatalog();
        px07.setPhase("1");
        px07.setPhaseName("小学组");
        px07.setPid("001");
        px07.setName("计算机程序设计（创意编程）");
        px07.setLimitCount(50);
        list.add(px07);

        YxyMakerCatalog px08 = new YxyMakerCatalog();
        px08.setPhase("1");
        px08.setPhaseName("小学组");
        px08.setPid("001");
        px08.setName("微视频（英语数码故事创作）");
        px08.setLimitCount(50);
        list.add(px08);

        YxyMakerCatalog px09 = new YxyMakerCatalog();
        px09.setPhase("1");
        px09.setPhaseName("小学组");
        px09.setPid("001");
        px09.setName("3D创意设计");
        px09.setLimitCount(50);
        list.add(px09);

        YxyMakerCatalog px10 = new YxyMakerCatalog();
        px10.setPhase("1");
        px10.setPhaseName("小学组");
        px10.setPid("001");
        px10.setName("DV创造[科]");
        px10.setLimitCount(50);
        list.add(px10);

        // 评选类-初中组
        YxyMakerCatalog pc0 = new YxyMakerCatalog();
        pc0.setId("002");
        pc0.setPhase("2");
        pc0.setPhaseName("初中组");
        pc0.setPid("0");
        pc0.setName("评选类");
        pc0.setLimitCount(50);
        yxyMakerCatalogRepository.save(pc0);

        YxyMakerCatalog pc01 = new YxyMakerCatalog();
        pc01.setPhase("2");
        pc01.setPhaseName("初中组");
        pc01.setPid("002");
        pc01.setName("电脑绘画");
        pc01.setLimitCount(50);
        list.add(pc01);

        YxyMakerCatalog pc02 = new YxyMakerCatalog();
        pc02.setPhase("2");
        pc02.setPhaseName("初中组");
        pc02.setPid("002");
        pc02.setName("电脑绘画（“和教育”专项）");
        pc02.setLimitCount(50);
        list.add(pc02);

        YxyMakerCatalog pc03 = new YxyMakerCatalog();
        pc03.setPhase("2");
        pc03.setPhaseName("初中组");
        pc03.setPid("002");
        pc03.setName("网页设计");
        pc03.setLimitCount(50);
        list.add(pc03);

        YxyMakerCatalog pc04 = new YxyMakerCatalog();
        pc04.setPhase("2");
        pc04.setPhaseName("初中组");
        pc04.setPid("002");
        pc04.setName("电脑动画");
        pc04.setLimitCount(50);
        list.add(pc04);

        YxyMakerCatalog pc05 = new YxyMakerCatalog();
        pc05.setPhase("2");
        pc05.setPhaseName("初中组");
        pc05.setPid("002");
        pc05.setName("电脑动画（健康教育专项）");
        pc05.setLimitCount(50);
        list.add(pc05);

        YxyMakerCatalog pc06 = new YxyMakerCatalog();
        pc06.setPhase("2");
        pc06.setPhaseName("初中组");
        pc06.setPid("002");
        pc06.setName("电脑动画（“和教育”手机动漫）");
        pc06.setLimitCount(50);
        list.add(pc06);

        YxyMakerCatalog pc07 = new YxyMakerCatalog();
        pc07.setPhase("2");
        pc07.setPhaseName("初中组");
        pc07.setPid("002");
        pc07.setName("计算机程序设计（创意编程）");
        pc07.setLimitCount(50);
        list.add(pc07);

        YxyMakerCatalog pc08 = new YxyMakerCatalog();
        pc08.setPhase("2");
        pc08.setPhaseName("初中组");
        pc08.setPid("002");
        pc08.setName("3D创意设计（创新未来设计）");
        pc08.setLimitCount(50);
        list.add(pc08);

        YxyMakerCatalog pc09 = new YxyMakerCatalog();
        pc09.setPhase("2");
        pc09.setPhaseName("初中组");
        pc09.setPid("002");
        pc09.setName("3D创意设计（未来智造设计）");
        pc09.setLimitCount(50);
        list.add(pc09);

        YxyMakerCatalog pc10 = new YxyMakerCatalog();
        pc10.setPhase("2");
        pc10.setPhaseName("初中组");
        pc10.setPid("002");
        pc10.setName("微视频（英语数码故事创作）");
        pc10.setLimitCount(50);
        list.add(pc10);

        YxyMakerCatalog pc11 = new YxyMakerCatalog();
        pc11.setPhase("2");
        pc11.setPhaseName("初中组");
        pc11.setPid("002");
        pc11.setName("DV创造[科]");
        pc11.setLimitCount(50);
        list.add(pc11);

        // 评选类-高中组
        YxyMakerCatalog pg0 = new YxyMakerCatalog();
        pg0.setId("003");
        pg0.setPhase("3");
        pg0.setPhaseName("高中组");
        pg0.setPid("0");
        pg0.setName("评选类");
        pg0.setLimitCount(50);
        yxyMakerCatalogRepository.save(pg0);

        YxyMakerCatalog pg01 = new YxyMakerCatalog();
        pg01.setPhase("3");
        pg01.setPhaseName("高中组");
        pg01.setPid("003");
        pg01.setName("网页设计");
        pg01.setLimitCount(50);
        list.add(pg01);

        YxyMakerCatalog pg02 = new YxyMakerCatalog();
        pg02.setPhase("3");
        pg02.setPhaseName("高中组");
        pg02.setPid("003");
        pg02.setName("电脑艺术设计");
        pg02.setLimitCount(50);
        list.add(pg02);

        YxyMakerCatalog pg03 = new YxyMakerCatalog();
        pg03.setPhase("3");
        pg03.setPhaseName("高中组");
        pg03.setPid("003");
        pg03.setName("电脑动画（二维）");
        pg03.setLimitCount(50);
        list.add(pg03);

        YxyMakerCatalog pg04 = new YxyMakerCatalog();
        pg04.setPhase("3");
        pg04.setPhaseName("高中组");
        pg04.setPid("003");
        pg04.setName("电脑动画（三维）");
        pg04.setLimitCount(50);
        list.add(pg04);

        YxyMakerCatalog pg05 = new YxyMakerCatalog();
        pg05.setPhase("3");
        pg05.setPhaseName("高中组");
        pg05.setPid("003");
        pg05.setName("电脑动画（健康教育专项）");
        pg05.setLimitCount(50);
        list.add(pg05);

        YxyMakerCatalog pg06 = new YxyMakerCatalog();
        pg06.setPhase("3");
        pg06.setPhaseName("高中组");
        pg06.setPid("003");
        pg06.setName("电脑动画（“和教育”手机动漫）");
        pg06.setLimitCount(50);
        list.add(pg06);

        YxyMakerCatalog pg07 = new YxyMakerCatalog();
        pg07.setPhase("3");
        pg07.setPhaseName("高中组");
        pg07.setPid("003");
        pg07.setName("计算机程序设计");
        pg07.setLimitCount(50);
        list.add(pg07);

        YxyMakerCatalog pg08 = new YxyMakerCatalog();
        pg08.setPhase("3");
        pg08.setPhaseName("高中组");
        pg08.setPid("003");
        pg08.setName("3D创意设计（创新未来设计）");
        pg08.setLimitCount(50);
        list.add(pg08);

        YxyMakerCatalog pg09 = new YxyMakerCatalog();
        pg09.setPhase("3");
        pg09.setPhaseName("高中组");
        pg09.setPid("003");
        pg09.setName("3D创意设计（未来智造设计）");
        pg09.setLimitCount(50);
        list.add(pg09);

        YxyMakerCatalog pg10 = new YxyMakerCatalog();
        pg10.setPhase("3");
        pg10.setPhaseName("高中组");
        pg10.setPid("003");
        pg10.setName("微视频（微电影）");
        pg10.setLimitCount(50);
        list.add(pg10);

        YxyMakerCatalog pg11 = new YxyMakerCatalog();
        pg11.setPhase("3");
        pg11.setPhaseName("高中组");
        pg11.setPid("003");
        pg11.setName("DV创造[科]");
        pg11.setLimitCount(50);
        list.add(pg11);

        // 评选类-中职组
        YxyMakerCatalog pz0 = new YxyMakerCatalog();
        pz0.setId("004");
        pz0.setPhase("4");
        pz0.setPhaseName("中职组");
        pz0.setPid("0");
        pz0.setName("评选类");
        pz0.setLimitCount(20);
        yxyMakerCatalogRepository.save(pz0);

        YxyMakerCatalog pz01 = new YxyMakerCatalog();
        pz01.setPhase("4");
        pz01.setPhaseName("中职组");
        pz01.setPid("004");
        pz01.setName("电脑艺术设计");
        pz01.setLimitCount(20);
        list.add(pz01);

        YxyMakerCatalog pz02 = new YxyMakerCatalog();
        pz02.setPhase("4");
        pz02.setPhaseName("中职组");
        pz02.setPid("004");
        pz02.setName("电脑动画（二维）");
        pz02.setLimitCount(20);
        list.add(pz02);

        YxyMakerCatalog pz03 = new YxyMakerCatalog();
        pz03.setPhase("4");
        pz03.setPhaseName("中职组");
        pz03.setPid("004");
        pz03.setName("电脑动画（三维）");
        pz03.setLimitCount(20);
        list.add(pz03);

        YxyMakerCatalog pz04 = new YxyMakerCatalog();
        pz04.setPhase("4");
        pz04.setPhaseName("中职组");
        pz04.setPid("004");
        pz04.setName("计算机程序设计");
        pz04.setLimitCount(20);
        list.add(pz04);

        // 创客竞赛-小学组
        YxyMakerCatalog cx0 = new YxyMakerCatalog();
        cx0.setId("005");
        cx0.setPhase("1");
        cx0.setPhaseName("小学组");
        cx0.setPid("0");
        cx0.setName("创客竞赛");
        cx0.setLimitCount(4);
        yxyMakerCatalogRepository.save(cx0);

        YxyMakerCatalog cx01 = new YxyMakerCatalog();
        cx01.setPhase("1");
        cx01.setPhaseName("小学组");
        cx01.setPid("005");
        cx01.setName("创意智造");
        cx01.setLimitCount(4);
        list.add(cx01);

        // 创客竞赛-初中组
        YxyMakerCatalog cc0 = new YxyMakerCatalog();
        cc0.setId("006");
        cc0.setPhase("2");
        cc0.setPhaseName("初中组");
        cc0.setPid("0");
        cc0.setName("创客竞赛");
        cc0.setLimitCount(4);
        yxyMakerCatalogRepository.save(cc0);

        YxyMakerCatalog cc01 = new YxyMakerCatalog();
        cc01.setPhase("2");
        cc01.setPhaseName("初中组");
        cc01.setPid("006");
        cc01.setName("创意智造");
        cc01.setLimitCount(4);
        list.add(cc01);

        // 创客竞赛-高中组
        YxyMakerCatalog cg0 = new YxyMakerCatalog();
        cg0.setId("007");
        cg0.setPhase("3");
        cg0.setPhaseName("高中组");
        cg0.setPid("0");
        cg0.setName("创客竞赛");
        cg0.setLimitCount(4);
        yxyMakerCatalogRepository.save(cg0);

        YxyMakerCatalog cg01 = new YxyMakerCatalog();
        cg01.setPhase("3");
        cg01.setPhaseName("高中组");
        cg01.setPid("007");
        cg01.setName("创意智造");
        cg01.setLimitCount(4);
        list.add(cg01);

        // 机器人竞赛-小学组
        YxyMakerCatalog jx0 = new YxyMakerCatalog();
        jx0.setId("008");
        jx0.setPhase("1");
        jx0.setPhaseName("小学组");
        jx0.setPid("0");
        jx0.setName("机器人竞赛");
        jx0.setLimitCount(10);
        yxyMakerCatalogRepository.save(jx0);

        YxyMakerCatalog jx01 = new YxyMakerCatalog();
        jx01.setPhase("1");
        jx01.setPhaseName("小学组");
        jx01.setPid("008");
        jx01.setName("机器人创意[科]");
        jx01.setLimitCount(10);
        list.add(jx01);

        YxyMakerCatalog jx02 = new YxyMakerCatalog();
        jx02.setPhase("1");
        jx02.setPhaseName("小学组");
        jx02.setPid("008");
        jx02.setName("机器人综合技能[科]");
        jx02.setLimitCount(10);
        list.add(jx02);

        YxyMakerCatalog jx03 = new YxyMakerCatalog();
        jx03.setPhase("1");
        jx03.setPhaseName("小学组");
        jx03.setPid("008");
        jx03.setName("VEX机器人工程挑战[科]");
        jx03.setLimitCount(10);
        list.add(jx03);

        YxyMakerCatalog jx04 = new YxyMakerCatalog();
        jx04.setPhase("1");
        jx04.setPhaseName("小学组");
        jx04.setPid("008");
        jx04.setName("WER工程创新[科]");
        jx04.setLimitCount(10);
        list.add(jx04);

        YxyMakerCatalog jx05 = new YxyMakerCatalog();
        jx05.setPhase("1");
        jx05.setPhaseName("小学组");
        jx05.setPid("008");
        jx05.setName("WER能力挑战[电]");
        jx05.setLimitCount(10);
        list.add(jx05);

        YxyMakerCatalog jx06 = new YxyMakerCatalog();
        jx06.setPhase("1");
        jx06.setPhaseName("小学组");
        jx06.setPid("008");
        jx06.setName("FLL机器人挑战");
        jx06.setLimitCount(10);
        list.add(jx06);

        YxyMakerCatalog jx07 = new YxyMakerCatalog();
        jx07.setPhase("1");
        jx07.setPhaseName("小学组");
        jx07.setPid("008");
        jx07.setName("机器人足球[1VS1]");
        jx07.setLimitCount(10);
        list.add(jx07);

        YxyMakerCatalog jx08 = new YxyMakerCatalog();
        jx08.setPhase("1");
        jx08.setPhaseName("小学组");
        jx08.setPid("008");
        jx08.setName("机器人灭火[电]");
        jx08.setLimitCount(10);
        list.add(jx08);

        YxyMakerCatalog jx09 = new YxyMakerCatalog();
        jx09.setPhase("1");
        jx09.setPhaseName("小学组");
        jx09.setPid("008");
        jx09.setName("人型机器人全能挑战[电]");
        jx09.setLimitCount(10);
        list.add(jx09);

        YxyMakerCatalog jx10 = new YxyMakerCatalog();
        jx10.setPhase("1");
        jx10.setPhaseName("小学组");
        jx10.setPid("008");
        jx10.setName("纳茵特智能挑战[电]");
        jx10.setLimitCount(10);
        list.add(jx10);

        YxyMakerCatalog jx11 = new YxyMakerCatalog();
        jx11.setPhase("1");
        jx11.setPhaseName("小学组");
        jx11.setPid("008");
        jx11.setName("超级轨迹[电]");
        jx11.setLimitCount(10);
        list.add(jx11);

        YxyMakerCatalog jx12 = new YxyMakerCatalog();
        jx12.setPhase("1");
        jx12.setPhaseName("小学组");
        jx12.setPid("008");
        jx12.setName("超级轨迹[科]");
        jx12.setLimitCount(10);
        list.add(jx12);

        YxyMakerCatalog jx13 = new YxyMakerCatalog();
        jx13.setPhase("1");
        jx13.setPhaseName("小学组");
        jx13.setPid("008");
        jx13.setName("机器人接力[科]");
        jx13.setLimitCount(10);
        list.add(jx13);

        YxyMakerCatalog jx14 = new YxyMakerCatalog();
        jx14.setPhase("1");
        jx14.setPhaseName("小学组");
        jx14.setPid("008");
        jx14.setName("机器人搬运[科]");
        jx14.setLimitCount(10);
        list.add(jx14);

        YxyMakerCatalog jx15 = new YxyMakerCatalog();
        jx15.setPhase("1");
        jx15.setPhaseName("小学组");
        jx15.setPid("008");
        jx15.setName("机器人折返跑竞速[科]");
        jx15.setLimitCount(10);
        list.add(jx15);

        YxyMakerCatalog jx16 = new YxyMakerCatalog();
        jx16.setPhase("1");
        jx16.setPhaseName("小学组");
        jx16.setPid("008");
        jx16.setName("VEX-IQ挑战[科]");
        jx16.setLimitCount(10);
        list.add(jx16);

        YxyMakerCatalog jx17 = new YxyMakerCatalog();
        jx17.setPhase("1");
        jx17.setPhaseName("小学组");
        jx17.setPid("008");
        jx17.setName("WER普及赛[电]");
        jx17.setLimitCount(10);
        list.add(jx17);

        YxyMakerCatalog jx18 = new YxyMakerCatalog();
        jx18.setPhase("1");
        jx18.setPhaseName("小学组");
        jx18.setPid("008");
        jx18.setName("RIC机器人创新[科]");
        jx18.setLimitCount(10);
        list.add(jx18);

        // 机器人竞赛-初中组
        YxyMakerCatalog jc0 = new YxyMakerCatalog();
        jc0.setId("009");
        jc0.setPhase("2");
        jc0.setPhaseName("初中组");
        jc0.setPid("0");
        jc0.setName("机器人竞赛");
        jc0.setLimitCount(10);
        yxyMakerCatalogRepository.save(jc0);

        YxyMakerCatalog jc01 = new YxyMakerCatalog();
        jc01.setPhase("2");
        jc01.setPhaseName("初中组");
        jc01.setPid("009");
        jc01.setName("机器人创意[科]");
        jc01.setLimitCount(10);
        list.add(jc01);

        YxyMakerCatalog jc02 = new YxyMakerCatalog();
        jc02.setPhase("2");
        jc02.setPhaseName("初中组");
        jc02.setPid("009");
        jc02.setName("机器人综合技能[科]");
        jc02.setLimitCount(10);
        list.add(jc02);

        YxyMakerCatalog jc03 = new YxyMakerCatalog();
        jc03.setPhase("2");
        jc03.setPhaseName("初中组");
        jc03.setPid("009");
        jc03.setName("VEX机器人工程挑战[科]");
        jc03.setLimitCount(10);
        list.add(jc03);

        YxyMakerCatalog jc04 = new YxyMakerCatalog();
        jc04.setPhase("2");
        jc04.setPhaseName("初中组");
        jc04.setPid("009");
        jc04.setName("WER工程创新[科]");
        jc04.setLimitCount(10);
        list.add(jc04);

        YxyMakerCatalog jc05 = new YxyMakerCatalog();
        jc05.setPhase("2");
        jc05.setPhaseName("初中组");
        jc05.setPid("009");
        jc05.setName("WER能力挑战[电]");
        jc05.setLimitCount(10);
        list.add(jc05);

        YxyMakerCatalog jc06 = new YxyMakerCatalog();
        jc06.setPhase("2");
        jc06.setPhaseName("初中组");
        jc06.setPid("009");
        jc06.setName("FLL机器人挑战");
        jc06.setLimitCount(10);
        list.add(jc06);

        YxyMakerCatalog jc07 = new YxyMakerCatalog();
        jc07.setPhase("2");
        jc07.setPhaseName("初中组");
        jc07.setPid("009");
        jc07.setName("机器人足球[2VS2]");
        jc07.setLimitCount(10);
        list.add(jc07);

        YxyMakerCatalog jc08 = new YxyMakerCatalog();
        jc08.setPhase("2");
        jc08.setPhaseName("初中组");
        jc08.setPid("009");
        jc08.setName("机器人灭火[电]");
        jc08.setLimitCount(10);
        list.add(jc08);

        YxyMakerCatalog jc09 = new YxyMakerCatalog();
        jc09.setPhase("2");
        jc09.setPhaseName("初中组");
        jc09.setPid("009");
        jc09.setName("人型机器人全能挑战[电]");
        jc09.setLimitCount(10);
        list.add(jc09);

        YxyMakerCatalog jc10 = new YxyMakerCatalog();
        jc10.setPhase("2");
        jc10.setPhaseName("初中组");
        jc10.setPid("009");
        jc10.setName("纳茵特智能挑战[电]");
        jc10.setLimitCount(10);
        list.add(jc10);

        YxyMakerCatalog jc11 = new YxyMakerCatalog();
        jc11.setPhase("2");
        jc11.setPhaseName("初中组");
        jc11.setPid("009");
        jc11.setName("超级轨迹[电]");
        jc11.setLimitCount(10);
        list.add(jc11);

        YxyMakerCatalog jc12 = new YxyMakerCatalog();
        jc12.setPhase("2");
        jc12.setPhaseName("初中组");
        jc12.setPid("009");
        jc12.setName("超级轨迹[科]");
        jc12.setLimitCount(10);
        list.add(jc12);

        YxyMakerCatalog jc13 = new YxyMakerCatalog();
        jc13.setPhase("2");
        jc13.setPhaseName("初中组");
        jc13.setPid("009");
        jc13.setName("机器人接力[科]");
        jc13.setLimitCount(10);
        list.add(jc13);

        YxyMakerCatalog jc14 = new YxyMakerCatalog();
        jc14.setPhase("2");
        jc14.setPhaseName("初中组");
        jc14.setPid("009");
        jc14.setName("机器人搬运[科]");
        jc14.setLimitCount(10);
        list.add(jc14);

        YxyMakerCatalog jc15 = new YxyMakerCatalog();
        jc15.setPhase("2");
        jc15.setPhaseName("初中组");
        jc15.setPid("009");
        jc15.setName("机器人折返跑竞速[科]");
        jc15.setLimitCount(10);
        list.add(jc15);

        YxyMakerCatalog jc16 = new YxyMakerCatalog();
        jc16.setPhase("2");
        jc16.setPhaseName("初中组");
        jc16.setPid("009");
        jc16.setName("VEX-IQ挑战[科]");
        jc16.setLimitCount(10);
        list.add(jc16);

        YxyMakerCatalog jc17 = new YxyMakerCatalog();
        jc17.setPhase("2");
        jc17.setPhaseName("初中组");
        jc17.setPid("009");
        jc17.setName("WER普及赛[电]");
        jc17.setLimitCount(10);
        list.add(jc17);

        YxyMakerCatalog jc18 = new YxyMakerCatalog();
        jc18.setPhase("2");
        jc18.setPhaseName("初中组");
        jc18.setPid("009");
        jc18.setName("RIC机器人创新[科]");
        jc18.setLimitCount(10);
        list.add(jc18);

        YxyMakerCatalog jc19 = new YxyMakerCatalog();
        jc19.setPhase("2");
        jc19.setPhaseName("初中组");
        jc19.setPid("009");
        jc19.setName("机器人篮球[电]");
        jc19.setLimitCount(10);
        list.add(jc19);

        YxyMakerCatalog jc20 = new YxyMakerCatalog();
        jc20.setPhase("2");
        jc20.setPhaseName("初中组");
        jc20.setPid("009");
        jc20.setName("BotBall[电]");
        jc20.setLimitCount(10);
        list.add(jc20);

        // 机器人竞赛-高中组
        YxyMakerCatalog jg0 = new YxyMakerCatalog();
        jg0.setId("010");
        jg0.setPhase("3");
        jg0.setPhaseName("高中组");
        jg0.setPid("0");
        jg0.setName("机器人竞赛");
        jg0.setLimitCount(10);
        yxyMakerCatalogRepository.save(jg0);

        YxyMakerCatalog jg01 = new YxyMakerCatalog();
        jg01.setPhase("3");
        jg01.setPhaseName("高中组");
        jg01.setPid("010");
        jg01.setName("机器人创意[科]");
        jg01.setLimitCount(10);
        list.add(jg01);

        YxyMakerCatalog jg02 = new YxyMakerCatalog();
        jg02.setPhase("3");
        jg02.setPhaseName("高中组");
        jg02.setPid("010");
        jg02.setName("机器人综合技能[科]");
        jg02.setLimitCount(10);
        list.add(jg02);

        YxyMakerCatalog jg03 = new YxyMakerCatalog();
        jg03.setPhase("3");
        jg03.setPhaseName("高中组");
        jg03.setPid("010");
        jg03.setName("VEX机器人工程挑战[科]");
        jg03.setLimitCount(10);
        list.add(jg03);

        YxyMakerCatalog jg04 = new YxyMakerCatalog();
        jg04.setPhase("3");
        jg04.setPhaseName("高中组");
        jg04.setPid("010");
        jg04.setName("WER工程创新[科]");
        jg04.setLimitCount(10);
        list.add(jg04);

        YxyMakerCatalog jg05 = new YxyMakerCatalog();
        jg05.setPhase("3");
        jg05.setPhaseName("高中组");
        jg05.setPid("010");
        jg05.setName("WER能力挑战[电]");
        jg05.setLimitCount(10);
        list.add(jg05);

        YxyMakerCatalog jg06 = new YxyMakerCatalog();
        jg06.setPhase("3");
        jg06.setPhaseName("高中组");
        jg06.setPid("010");
        jg06.setName("FLL机器人挑战");
        jg06.setLimitCount(10);
        list.add(jg06);

        YxyMakerCatalog jg07 = new YxyMakerCatalog();
        jg07.setPhase("3");
        jg07.setPhaseName("高中组");
        jg07.setPid("010");
        jg07.setName("机器人足球[2VS2]");
        jg07.setLimitCount(10);
        list.add(jg07);

        YxyMakerCatalog jg08 = new YxyMakerCatalog();
        jg08.setPhase("3");
        jg08.setPhaseName("高中组");
        jg08.setPid("010");
        jg08.setName("机器人灭火[电]");
        jg08.setLimitCount(10);
        list.add(jg08);

        YxyMakerCatalog jg09 = new YxyMakerCatalog();
        jg09.setPhase("3");
        jg09.setPhaseName("高中组");
        jg09.setPid("010");
        jg09.setName("人型机器人全能挑战[电]");
        jg09.setLimitCount(10);
        list.add(jg09);

        YxyMakerCatalog jg10 = new YxyMakerCatalog();
        jg10.setPhase("3");
        jg10.setPhaseName("高中组");
        jg10.setPid("010");
        jg10.setName("纳茵特智能挑战[电]");
        jg10.setLimitCount(10);
        list.add(jg10);

        YxyMakerCatalog jg11 = new YxyMakerCatalog();
        jg11.setPhase("3");
        jg11.setPhaseName("高中组");
        jg11.setPid("010");
        jg11.setName("超级轨迹[电]");
        jg11.setLimitCount(10);
        list.add(jg11);

        YxyMakerCatalog jg12 = new YxyMakerCatalog();
        jg12.setPhase("3");
        jg12.setPhaseName("高中组");
        jg12.setPid("010");
        jg12.setName("超级轨迹[科]");
        jg12.setLimitCount(10);
        list.add(jg12);

        YxyMakerCatalog jg13 = new YxyMakerCatalog();
        jg13.setPhase("3");
        jg13.setPhaseName("高中组");
        jg13.setPid("010");
        jg13.setName("机器人接力[科]");
        jg13.setLimitCount(10);
        list.add(jg13);

        YxyMakerCatalog jg14 = new YxyMakerCatalog();
        jg14.setPhase("3");
        jg14.setPhaseName("高中组");
        jg14.setPid("010");
        jg14.setName("机器人搬运[科]");
        jg14.setLimitCount(10);
        list.add(jg14);

        YxyMakerCatalog jg15 = new YxyMakerCatalog();
        jg15.setPhase("3");
        jg15.setPhaseName("高中组");
        jg15.setPid("010");
        jg15.setName("机器人折返跑竞速[科]");
        jg15.setLimitCount(10);
        list.add(jg15);

        YxyMakerCatalog jg16 = new YxyMakerCatalog();
        jg16.setPhase("3");
        jg16.setPhaseName("高中组");
        jg16.setPid("010");
        jg16.setName("VEX-IQ挑战[科]");
        jg16.setLimitCount(10);
        list.add(jg16);

        YxyMakerCatalog jg17 = new YxyMakerCatalog();
        jg17.setPhase("3");
        jg17.setPhaseName("高中组");
        jg17.setPid("010");
        jg17.setName("WER普及赛[电]");
        jg17.setLimitCount(10);
        list.add(jg17);

        YxyMakerCatalog jg18 = new YxyMakerCatalog();
        jg18.setPhase("3");
        jg18.setPhaseName("高中组");
        jg18.setPid("010");
        jg18.setName("RIC机器人创新[科]");
        jg18.setLimitCount(10);
        list.add(jg18);

        YxyMakerCatalog jg19 = new YxyMakerCatalog();
        jg19.setPhase("3");
        jg19.setPhaseName("高中组");
        jg19.setPid("010");
        jg19.setName("机器人篮球[电]");
        jg19.setLimitCount(10);
        list.add(jg19);

        YxyMakerCatalog jg20 = new YxyMakerCatalog();
        jg20.setPhase("3");
        jg20.setPhaseName("高中组");
        jg20.setPid("010");
        jg20.setName("BotBall[电]");
        jg20.setLimitCount(10);
        list.add(jg20);

        // 益智类竞赛-小学组
        YxyMakerCatalog yx0 = new YxyMakerCatalog();
        yx0.setId("011");
        yx0.setPhase("1");
        yx0.setPhaseName("小学组");
        yx0.setPid("0");
        yx0.setName("益智类竞赛");
        yx0.setLimitCount(25);
        yxyMakerCatalogRepository.save(yx0);

        YxyMakerCatalog yx01 = new YxyMakerCatalog();
        yx01.setPhase("1");
        yx01.setPhaseName("小学组");
        yx01.setPid("011");
        yx01.setName("遥控车绕标竞速赛");
        yx01.setLimitCount(5);
        list.add(yx01);

        YxyMakerCatalog yx02 = new YxyMakerCatalog();
        yx02.setPhase("1");
        yx02.setPhaseName("小学组");
        yx02.setPid("011");
        yx02.setName("遥控四轴飞行器计时赛");
        yx02.setLimitCount(5);
        list.add(yx02);

        YxyMakerCatalog yx03 = new YxyMakerCatalog();
        yx03.setPhase("1");
        yx03.setPhaseName("小学组");
        yx03.setPid("011");
        yx03.setName("华容道比赛");
        yx03.setLimitCount(5);
        list.add(yx03);

        YxyMakerCatalog yx04 = new YxyMakerCatalog();
        yx04.setPhase("1");
        yx04.setPhaseName("小学组");
        yx04.setPid("011");
        yx04.setName("魔方比赛");
        yx04.setLimitCount(5);
        list.add(yx04);

        YxyMakerCatalog yx05 = new YxyMakerCatalog();
        yx05.setPhase("1");
        yx05.setPhaseName("小学组");
        yx05.setPid("011");
        yx05.setName("鲁班锁比赛");
        yx05.setLimitCount(5);
        list.add(yx05);

        // 益智类竞赛-初中组
        YxyMakerCatalog yc0 = new YxyMakerCatalog();
        yc0.setId("012");
        yc0.setPhase("2");
        yc0.setPhaseName("初中组");
        yc0.setPid("0");
        yc0.setName("益智类竞赛");
        yc0.setLimitCount(25);
        yxyMakerCatalogRepository.save(yc0);

        YxyMakerCatalog yc01 = new YxyMakerCatalog();
        yc01.setPhase("2");
        yc01.setPhaseName("初中组");
        yc01.setPid("012");
        yc01.setName("遥控车绕标竞速赛");
        yc01.setLimitCount(5);
        list.add(yc01);

        YxyMakerCatalog yc02 = new YxyMakerCatalog();
        yc02.setPhase("2");
        yc02.setPhaseName("初中组");
        yc02.setPid("012");
        yc02.setName("遥控四轴飞行器计时赛");
        yc02.setLimitCount(5);
        list.add(yc02);

        YxyMakerCatalog yc03 = new YxyMakerCatalog();
        yc03.setPhase("2");
        yc03.setPhaseName("初中组");
        yc03.setPid("012");
        yc03.setName("华容道比赛");
        yc03.setLimitCount(5);
        list.add(yc03);

        YxyMakerCatalog yc04 = new YxyMakerCatalog();
        yc04.setPhase("2");
        yc04.setPhaseName("初中组");
        yc04.setPid("012");
        yc04.setName("魔方比赛");
        yc04.setLimitCount(5);
        list.add(yc04);

        YxyMakerCatalog yc05 = new YxyMakerCatalog();
        yc05.setPhase("2");
        yc05.setPhaseName("初中组");
        yc05.setPid("012");
        yc05.setName("鲁班锁比赛");
        yc05.setLimitCount(5);
        list.add(yc05);

        // 益智类竞赛-高中组
        YxyMakerCatalog yg0 = new YxyMakerCatalog();
        yg0.setId("013");
        yg0.setPhase("3");
        yg0.setPhaseName("高中组");
        yg0.setPid("0");
        yg0.setName("益智类竞赛");
        yg0.setLimitCount(25);
        yxyMakerCatalogRepository.save(yg0);

        YxyMakerCatalog yg01 = new YxyMakerCatalog();
        yg01.setPhase("3");
        yg01.setPhaseName("高中组");
        yg01.setPid("013");
        yg01.setName("遥控车绕标竞速赛");
        yg01.setLimitCount(5);
        list.add(yg01);

        YxyMakerCatalog yg02 = new YxyMakerCatalog();
        yg02.setPhase("3");
        yg02.setPhaseName("高中组");
        yg02.setPid("013");
        yg02.setName("遥控四轴飞行器计时赛");
        yg02.setLimitCount(5);
        list.add(yg02);

        YxyMakerCatalog yg03 = new YxyMakerCatalog();
        yg03.setPhase("3");
        yg03.setPhaseName("高中组");
        yg03.setPid("013");
        yg03.setName("华容道比赛");
        yg03.setLimitCount(5);
        list.add(yg03);

        YxyMakerCatalog yg04 = new YxyMakerCatalog();
        yg04.setPhase("3");
        yg04.setPhaseName("高中组");
        yg04.setPid("013");
        yg04.setName("魔方比赛");
        yg04.setLimitCount(5);
        list.add(yg04);

        YxyMakerCatalog yg05 = new YxyMakerCatalog();
        yg05.setPhase("3");
        yg05.setPhaseName("高中组");
        yg05.setPid("013");
        yg05.setName("鲁班锁比赛");
        yg05.setLimitCount(5);
        list.add(yg05);

        // 学科类竞赛-小学组
        YxyMakerCatalog xx0 = new YxyMakerCatalog();
        xx0.setId("014");
        xx0.setPhase("1");
        xx0.setPhaseName("小学组");
        xx0.setPid("0");
        xx0.setName("学科类竞赛");
        xx0.setLimitCount(20);
        yxyMakerCatalogRepository.save(xx0);

        YxyMakerCatalog xx01 = new YxyMakerCatalog();
        xx01.setPhase("1");
        xx01.setPhaseName("小学组");
        xx01.setPid("014");
        xx01.setName("魔抓（Scratch）创意编程大赛");
        xx01.setLimitCount(10);
        list.add(xx01);

        YxyMakerCatalog xx02 = new YxyMakerCatalog();
        xx02.setPhase("1");
        xx02.setPhaseName("小学组");
        xx02.setPid("014");
        xx02.setName("信息学编程");
        xx02.setLimitCount(10);
        list.add(xx02);

        // 学科类竞赛-初中组
        YxyMakerCatalog xc0 = new YxyMakerCatalog();
        xc0.setId("015");
        xc0.setPhase("2");
        xc0.setPhaseName("初中组");
        xc0.setPid("0");
        xc0.setName("学科类竞赛");
        xc0.setLimitCount(20);
        yxyMakerCatalogRepository.save(xc0);

        YxyMakerCatalog xc01 = new YxyMakerCatalog();
        xc01.setPhase("2");
        xc01.setPhaseName("初中组");
        xc01.setPid("015");
        xc01.setName("魔抓（Scratch）创意编程大赛");
        xc01.setLimitCount(10);
        list.add(xc01);

        YxyMakerCatalog xc02 = new YxyMakerCatalog();
        xc02.setPhase("2");
        xc02.setPhaseName("初中组");
        xc02.setPid("015");
        xc02.setName("信息学编程");
        xc02.setLimitCount(10);
        list.add(xc02);

        // 学科类竞赛-高中组
        YxyMakerCatalog xg0 = new YxyMakerCatalog();
        xg0.setId("016");
        xg0.setPhase("3");
        xg0.setPhaseName("高中组");
        xg0.setPid("0");
        xg0.setName("学科类竞赛");
        xg0.setLimitCount(20);
        yxyMakerCatalogRepository.save(xg0);

        YxyMakerCatalog xg01 = new YxyMakerCatalog();
        xg01.setPhase("3");
        xg01.setPhaseName("高中组");
        xg01.setPid("016");
        xg01.setName("魔抓（Scratch）创意编程大赛");
        xg01.setLimitCount(10);
        list.add(xg01);

        YxyMakerCatalog xg02 = new YxyMakerCatalog();
        xg02.setPhase("3");
        xg02.setPhaseName("高中组");
        xg02.setPid("016");
        xg02.setName("信息学编程");
        xg02.setLimitCount(10);
        list.add(xg02);
        int i = 16;
        for (YxyMakerCatalog entity : list) {
            i++;
            if (i < 100) {
                entity.setId("0" + String.valueOf(i));
            } else {
                entity.setId(String.valueOf(i));
            }
        }
        yxyMakerCatalogRepository.save(list);
    }
}
